package com.boot.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.boot.pojo.Headline;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.boot.views.PortalVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
* @author liyang
* @description 针对表【news_headline】的数据库操作Mapper
* @createDate 2025-04-14 13:27:54
* @Entity com.boot.pojo.Headline
*/
public interface HeadlineMapper extends BaseMapper<Headline> {
    IPage<Map<String, Object>> selectMyPage(IPage page, @Param("portalVo") PortalVo portalVo);

    Map queryDetailMap(@Param("id") Integer id);


}